<div class="row" ms-controller="store">
    <!--添加门店-->
    <div class="col-xs-12">
        新门店<br/>

        <div class="row">
            <div class="col-xs-3">
                <input type="text" maxlength="50" onkeyup="cutLength(this)" ms-duplex="newName" placeholder="门店名称"  class="form-control">
            </div>
            <div class="col-xs-3">
                <input type="text" maxlength="50" onkeyup="cutLength(this)" placeholder="门店管理员" ms-duplex="newAdmin" class="form-control">
            </div>
            <div class="col-xs-3">
                <input type="text" maxlength="50" onkeyup="cutLength(this)" placeholder="联系电话" ms-duplex="newPhone" class="form-control">
            </div>
            <div class="col-xs-3">
                <a class="btn btn-sm btn-success btn-block" ms-click="addStore">创建店铺</a>
            </div>
        </div>

    </div>
    <br/>

    <div class="col-xs-4" ms-repeat="list">
        <div class="storeCard">
            <h3>{{el.Name}}</h3>
            {{el.Admin}}({{el.Phone}})
        </div>

    </div>
</div>